<div class="accordion-group">
	<div class="accordion-heading">
		<a class="accordion-toggle" data-toggle="collapse" data-parent="#whmstats" href="#quickstats"> Quick Account Statistics </a>
	</div>
	<div id="quickstats" class="accordion-body collapse in">
		<div class="accordion-inner">
			<table class="table table-striped">
				<tr>
					<td><strong>Hostname:</strong></td>
					<td><?php echo empty($whmApi->getWhmAccount()->pass)? $whmApi->getHostName() : CHtml::link($whmApi->getHostName(), url('whm/account/login', array('id_account' => $whmApi->getWhmAccount()->id_account)), array('target' => '_blank')); ?></td>
				</tr>
				<tr>
					<td><strong>cPanel Accounts:</strong></td>
					<td>
						<?php echo count($whmaccount->CpanelAccounts); ?>
						<?php echo CHtml::link('List Account', url('whm/cpanelaccount/index', array('id_account' => $whmaccount->id_account)), array('class' => 'btn btn-mini')); ?>
					</td>
				</tr>
				<?php $loadAvg = $whmApi->getLoadAvg(); ?>
				<tr>
					<td><strong>Server Load (1 min):</strong></td>
					<td><?php echo $loadAvg->one; ?></td>
				</tr>
				<tr>
					<td><strong>Server Load (5 min):</strong></td>
					<td><?php echo $loadAvg->five; ?></td>
				</tr>
				<tr>
					<td><strong>Server Load (15 min):</strong></td>
					<td><?php echo $loadAvg->fifteen; ?></td>
				</tr>
			</table>
		</div>
	</div>
</div>